package ma.ensao.egicom.core.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.scub.foundation.framework.base.dto.AbstractDto;

public class CategoryDto extends AbstractDto implements Serializable {


    private Integer id;

    private String name;

    private String description;

    private List<ProductDto> products = new ArrayList<ProductDto>();

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer iD) {
        id = iD;
    }

    public List<ProductDto> getProducts() {
        return products;
    }

    public void setProducts(List<ProductDto> products) {
        this.products = products;
    }
 
}
